Policies FAQs
Q: Does Boomi ship Cloud API Management policies out of the box?
A: Yes. Pre-built policies are available out of the box for Cloud API Management customers.
Q: Where do I get notified about new features powered by Cloud API Management policies?
A: As new features are released, updates are communicated through the Boomi Cloud API Management – Local Edition Release Notes on the Boomi Help Docs.
Q: How are Cloud API Management policies different from connectors built by other products, such as BusinessWorks™ or Scribe®?
A: Cloud API Management policies support sideband integration features to integrate with third-party systems, enabling functionality including:
- augmented security and authentication
- transformation
- caching
- validation
Cloud API Management policies also support inline integration features that let the API publisher change the API's behavior at runtime in Traffic Manager through configuration, for both the client request and the backend response.
Q: Can Boomi Cloud API Management policies be made available or ported to Local Edition customers?
A: Yes, Cloud API Management-built policies are available out of the box with Local Edition. For next-generation Local Edition, refer to Policies.
Q: What are best practices for a Local Edition customer migrating to a newer Local Edition version while using Boomi-built policies?
A: Applies to customers who use Cloud API Management-built policies.
Normal flow
-
It is always good practice and Boomi recommends releasing Boomi Cloud API Management built policies certified for a particular Local Edition in a non-production area/environment first. Migration of Local Edition product and Boomi Cloud API Management built policies that are needed for a particular Local Edition version must happen in lock step.
-
You should deploy the policies build to your non-production environment once it's available for that Local Edition version. Pre-built policies are available out of the box with Local Edition.
-
You must perform UAT and confirm the policies function as expected for the Local Edition version.
-
You should update your support case once UAT is signed off. Boomi then releases the policies to your Local Edition production environment.
Geo Target Routing Policy
Q: Does the Geo Target Routing Policy support conditional routing?
A: Yes, the Geo Target Routing Policy supports conditional routing of the API request based on metadata provided in the HTTP header.
Q: Does the Geo Target Routing Policy support conditional routing only for geo routing?
A: No, the Geo Target Routing Policy supports conditional routing of the API request based on any metadata provided in the HTTP header. It is a powerful feature agnostic to the type of metadata.
Q: Does the Geo Target Routing Policy support header enrichment based on Mashery model attributes?
A: Yes, the Geo Target Routing Policy supports header enrichment with values from Mashery-supported model attributes. Currently, it supports package_keys, packages, keys, and plans model attributes.
Q: Does the Geo Target Routing Policy support header enrichment with static values?
A: Yes, the Geo Target Routing Policy supports header enrichment with a static value which can be configured.
JWT Authentication Policy
Q: Which IdPs are supported for JWT?
A: JWT Policy supports any third party IDP that supports JWT which is compliant to RFC specs https://tools.ietf.org/html/rfc7523.
The following are third party IDPs that Boomi customers are using, but not limited to:
- OKTA
- ADFS
- AWS Cognito
- Legacy IDP
- Ping
- Azure AD
Q: Can JWT Policy be configured on Package / Plan level?
A: JWT Policy can be configured at service endpoint level to provide granular control.
Q: Does Policy support Client asymmetric signed JWTs, to start with allowing the client's secret to sign the JWT?
A: JWT Policy supports validating client signed JWT with asymmetric key.
Client must share JWKS (JSON Web Key Set) with API Management to validate signature of the JWT.
Q: Does JWT Policy support validation using APIKey/ClientID inside JWT claim?
A: This JWT Policy provides authentication augmentation on top of API key which is used in API Management. In case one needs to use clientId/APIKey inside JWT claim to validate, then refer to the OAuth2JWT Authentication Policy.
Q: Is there a way to configure API Management to use OpenID+PKCE?
A: PKCE is an extension to the regular Authorization Code flow that allows one to get access token or ID token (JWT), for example:
- https://developer.okta.com/authentication-guide/auth-overview/#authorization-code-with-pkce-flow
- https://developer.okta.com/docs/api/resources/oidc
JWT Policy is compliant with JWT token generated using PKCE authorization flow.
Q: Is it correct that the JWT claims can only be forwarded as one claim in its unique header? So each claim you want to forward requires a new header? Or is it possible to combine claims in one header?
A: JWT Policy does not alter third party JWT token in any way. All claims inside JWT remains intact after successful validation and proxied to target endpoint. JWT Policy also allows one to configure value of the JWT claims that can be injected to enrich headers of the API call.
Q: What business use cases are suitable for JWT?
A: JWT is more suitable when federation is desired in the API flow. For example, you want to use external IDP like OKTA/Ping /AWS Cognito/ADFS as the token issuer, and then use an API gateway, such as API Management, as the token validator. With JWT, an app can authenticate to an external IDP, receives a token, and then present that token to API gateway to be verified. More scenario suitable for JWT using API Management refer to Business Use Cases Feasible Using JWT Policy.
OAuth2.0 Token Authentication Policy
Q: Which IDPs are supported for OAuth2.0 access tokens?
A: The policy supports any third-party IDP that supports an OAuth2.0 access token. Any IDP, including legacy, that is compliant with https://tools.ietf.org/html/rfc6749 for managing the life cycle of OAuth2.0 access tokens.
Q: Do different OAuth2.0 IDPs need different solutions?
A: The policy is agnostic to third-party IDP capable of generating and managing OAuth2.0 access tokens.
Q: Which OAuth2.0 grant types are supported?
A: The policy supports these Oauth 2.0 grant types: Authorization Code, Implicit Grant, Client Credentials, and Resource Owner Password Credentials. It validates Oauth 2.0 access tokens using the introspection endpoint provided by a third-party IDP.
Q: Does the policy support refreshing expired OAuth 2.0 access tokens?
A: The policy does not refresh expired tokens. The client application that uses it is responsible for refreshing the expired token from the third-party IDP.
Q: How many introspection endpoints does the policy support for access token validation?
A: We recommend configuring no more than ten introspection endpoints per service endpoint for a geo-distributed OAuth2.0 authorization server.
Q: Does the OAuth2.0 Token Authentication policy support OpenID Connect end-to-end token validation flow?
A: OpenID Connect uses JWT, a different token format than the OAuth 2.0 token, which is outside the scope of this policy. Refer to the JWT Authentication Policy. An OIDC-enabled IDP can return a JSON object containing the ID token, access token, and an optional refresh token. The token can be in JWT format or can be a normal bearer access token. The client app can try to access the backend API via the Cloud API Management platform by providing a JWT or an access token in the authorization header.
If the client app sends an access token in the authorization header, this policy can work seamlessly with the OIDC-enabled IDP flow as well, provided the introspection token endpoint returns user info. For more details, contact Boomi Support via Boomi Community.